local wdtx__ex_nihiloSkill = fk.CreateSkill {
  name = "wdtx__ex_nihilo_skill",
}


wdtx__ex_nihiloSkill:addEffect("cardskill", {
  name = "wdtx__ex_nihilo_skill",
  prompt = "#wdtx__ex_nihilo_skill",
  mod_target_filter = Util.TrueFunc,
  can_use = Util.CanUseToSelf,
  on_effect = function(self, room, effect)
    local target = effect.to
    if target.dead then return end
    local extra_add = effect.card:getMark("@up_exNihilo")
    target:drawCards(2+extra_add, "ex_nihilo")
  end
})


return wdtx__ex_nihiloSkill